.\" Copyright 1991, 1994, 1998  The Open Group
.\"
.\" Permission to use, copy, modify, distribute, and sell this software and its
.\" documentation for any purpose is hereby granted without fee, provided that
.\" the above copyright notice appear in all copies and that both that
.\" copyright notice and this permission notice appear in supporting
.\" documentation.
.\"
.\" The above copyright notice and this permission notice shall be included
.\" in all copies or substantial portions of the Software.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
.\" OTHER DEALINGS IN THE SOFTWARE.
.\"
.\" Except as contained in this notice, the name of The Open Group shall
.\" not be used in advertising or otherwise to promote the sale, use or
.\" other dealings in this Software without prior written authorization
.\" from The Open Group.
.\"
.TH XLSCLIENTS 1 __xorgversion__
.SH NAME
xlsclients - list client applications running on a display
.SH SYNOPSIS
.B "xlsclients"
[-display \fIdisplayname\fP] [-a] [-l] [-m maxcmdlen] [-version]
.SH DESCRIPTION
.PP
.I Xlsclients
is a utility for listing information about the client applications
running on a display.  It may be used to generate scripts representing
a snapshot of the user's current session.
.SH OPTIONS
.TP 8
.B \-display \fIdisplayname\fP
This option specifies the X server to contact.
.TP 8
.B \-a
This option indicates that clients on all screens should be listed.  By
default, only those clients on the default screen are listed.
.TP 8
.B \-l
List in long format, giving the window name, icon name,
and class hints in addition to the machine name and command string shown in
the default format.
.TP 8
.B \-m \fImaxcmdlen\fP
This option specifies the maximum number of characters in a command to
print out.  The default is 10000.
.TP 8
.B \-version
Print the program version and exit.
.SH ENVIRONMENT
.PP
.TP 8
.B DISPLAY
To get the default host, display number, and screen.
.SH "SEE ALSO"
X(__miscmansuffix__), xwininfo(__appmansuffix__), xprop(__appmansuffix__)
.SH AUTHOR
Jim Fulton, MIT X Consortium
